package AnnotationLearn;

import java.lang.annotation.*;
import java.lang.reflect.Type;

import static java.lang.annotation.ElementType.*;

/**
 * @author Lenl
 * @version v1.0
 * @create 2021-06-04 16:59
 * @description
 */
@Inherited
@Documented
@Repeatable(MyAnnotations.class)
@Target({TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE,TYPE_PARAMETER,TYPE_USE})
public @interface MyAnnotation {
    String value() default "hello";//这是个属性或者叫成员变量
}
